package com.ruoyi.zhgd.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.zhgd.util.PageUtils;
import com.ruoyi.zhgd.domain.NLaboratoryAsphaltLowTemperatureElongationRes;
import com.ruoyi.zhgd.domain.bo.ZjExperimentBindingBo;
import com.ruoyi.zhgd.domain.vo.NLaboratoryAsphaltLowTemperatureElongationResVo;
import com.ruoyi.zhgd.domain.bo.NLaboratoryAsphaltLowTemperatureElongationResBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * 沥青低温延伸度试验仪_结果数据Service接口
 *
 * @author cj
 * @date 2023-09-20
 */
public interface INLaboratoryAsphaltLowTemperatureElongationResService {

    /**
     * 查询沥青低温延伸度试验仪_结果数据
     */
    NLaboratoryAsphaltLowTemperatureElongationResVo queryById(String id);

    /**
     * 查询沥青低温延伸度试验仪_结果数据列表
     */
    TableDataInfo<NLaboratoryAsphaltLowTemperatureElongationResVo> queryPageList(NLaboratoryAsphaltLowTemperatureElongationResBo bo, PageQuery pageQuery);

    /**
     * 查询沥青低温延伸度试验仪_结果数据列表
     */
    List<NLaboratoryAsphaltLowTemperatureElongationResVo> queryList(NLaboratoryAsphaltLowTemperatureElongationResBo bo);

    /**
     * 新增沥青低温延伸度试验仪_结果数据
     */
    Boolean insertByBo(NLaboratoryAsphaltLowTemperatureElongationResBo bo);

    /**
     * 修改沥青低温延伸度试验仪_结果数据
     */
    Boolean updateByBo(NLaboratoryAsphaltLowTemperatureElongationResBo bo);

    /**
     * 校验并批量删除沥青低温延伸度试验仪_结果数据信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);

    PageUtils queryPage(Page page, Map<String, Object> params);

    List<NLaboratoryAsphaltLowTemperatureElongationRes> selectElongationRes(List<String> ids);

    void updateByBos(List<NLaboratoryAsphaltLowTemperatureElongationRes> laboratoryAsphalt);

    Page<Map<String, Object>> selectYdPage(ZjExperimentBindingBo bo, Page<Object> build);

    void updateStatus(String laboratoryId, Integer eligible, Integer relevance);

    String selectDeptId(String deviceId);
}
